#coding:utf-8
'''
* coder  : Dzlua
* email  : 505544956@qq.com
* module : api-frame
* path   : app/apis/v_1_1
* file   : user.py
* time   : 2017/10/20
'''
#--------------------#
from app import mgr
#--------------------#

#--------------------#
api = mgr.get_api('v1.1')
#--------------------#

#--------------------#
class User(mgr.ApiAuthBase):
    def post(self):
        return {
            'user': mgr.g.user.name,
            'id': mgr.g.user.id,
            'password': mgr.g.user.pwd
        }
#--------------------#
